// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 获取设置配置信息  */
export async function settingConfig(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<InstructSettingData.SettingConfigVo>>(
    '/instruct/setting/config',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 更新发送短信配置 */
export async function updateSendSms(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/instruct/setting/update/sendSms', {
    method: 'POST',
    data: options || {},
  });
}
